package com.bestcem.xm.deliver.controller.v2.param;

import com.alibaba.fastjson.JSONObject;
import com.bestcem.xm.common.core.domain.base.UserBaseInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 创建网站链接参数
 */
@ApiModel(description = "创建参数")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class CreateEmbedParam extends UserBaseInfo {
    /**
     * 手机端配置
     */
    @ApiModelProperty(value = "手机端配置", name = "mobile_config")
    @JsonProperty("mobile_config")
    private JSONObject mobileConfig;

    /**
     * pc端配置
     */
    @ApiModelProperty(value = "pc端配置", name = "pc_config")
    @JsonProperty("pc_config")
    private JSONObject pcConfig;

    /**
     * 问卷id
     */
    @ApiModelProperty(value = "问卷id", name = "survey_id")
    @JsonProperty("survey_id")
    private String surveyId;

    /**
     * 投放id
     */
    @ApiModelProperty(value = "投放id", name = "_deliver_name")
    @JsonProperty("_deliver_name")
    private String deliverName;
}